package day1;

public class Computer {
private int code;
private String name;
private String cpu;

public Computer() {
	
}
public Computer(int code) {
	super();
	this.code = code;

	
}
public Computer(int code, String name) {
	super();
	this.code = code;
	this.name = name;
	
}
public Computer(int code, String name, String cpu) {
	super();
	this.code = code;
	this.name = name;
	this.cpu = cpu;
}
public int getCode() {
	return code;
}
public void setCode(int code) {
	this.code = code;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getCpu() {
	return cpu;
}
public void setCpu(String cpu) {
	this.cpu = cpu;
}
@Override
public String toString() {
	return "Computer [code=" + code + ", name=" + name + ", cpu=" + cpu + "]";
}

}
